*** Cannon/Main Gun Vehicle Replacement ***

AUTHOR: Cameron McDonald, aka CameronMcDonald (well, shit).

CONTACT: Send me a PM (to CameronMcDonald) on the BIS forums.

VERSION: v0.01 Public Test.

REQUIREMENTS: ArmA II CO, BAF, PMC (for da lulz). Tested with 1.59 and 1.60 betas. Girlfriend optional.

FEATURES:

- AI will now use the correct ammunition on their cannons and tank main guns on the enemy. No more "lulz imma gonna taek out 1 guy with a SABOT lol."
- BMP3 can no longer one-two punch (fire a 100m round then an ATGM within half a second out of its main gun).
- Russian T72 and T90 have 9K119 and 9K120 ATGM systems added. AI use them seamlessly.
- Changed rates of fire of main guns to (mostly) what FAS.org says. Where a manual loading system is used, I used the lower limit of the stated rounds-per-minute (T34), or Eastern equivalent autoloader times (M1 series) for shits and giggles).
- AI use the system well (without haxx), and the player does not have access to AI firemodes. Awesomecross '98.
- No nasty .RPT bugs (that I've seen).

BUGS:

- The MBTs will occasionally use SABOT on infantry if they get within a certain range, or if an armoured target turns up just as they are about to fire. The first round fired is almost always HEAT, however. You will also find that MBTs will use HEAT on light vehicles (which is fucking cool, IMHO, and not really a bug at all).
- Not really a bug, but this overrides weapon classnames on the affected units. Ammo classes remain the same (except where novel ATGMs have been introduced and cost values altered for AI selection reasons).
- The BMP3 will now kill pretty much EVERYTHING (infantry are screwed due to HE 30mm and 100mm OG rounds, tanks are rooted due to ATGMs). You have been warned.
- No idea what this will do in multiplayer. Probably cause things to asplode unless everyone has it loaded. Untested.
- This addon conflicts with TGW's awesome vehicle fixes, hence the ZZZ_ prefix to ensure that my addon is loaded last (after which it doesn't cause any problems). If anyone wants to gimme a hand to fix this, please yell.
- It will also add an addon dependency to missions you make with affected vehicles. Be aware. :)

FIXES:

- Incorporated Oden's M2A3 ERA fix to increase armour and damageresistance on ERA'd vehicles.

TRIVIA:

- All files are unbinarised for your looking-at pleasure.
- oh hai Topas motostreloks/BTRT kthx helo, TWELVE OCLONK.

ALTERED VEHICLES:

- BMP2 (all variants)
- BMP3
- BTR90
- T34
- T55 (all variants)
- T72 (all variants)
- T80
- Vodnik BPPU

- LAV25
- Stryker MGS
- M2A2
- M2A3
- M6
- M1A1 (all variants)
- M1A2 TUSK (all variants)

- BAF Warrior 2

CREDITS:

BIS - teh gaem.
[ASA]Oden - this is based very much upon his work in his OdenBIS config addon. I doff my hat to him - a similar system should be added to ACE2 or A3 when possible.
kyu - help with the example mission.
Mr. Burns - help with an asplosion early on.

--------------------------------------------------------

INSTALLATION: Simply extract the ZZZ_CMCD_VehTweaks.PBO file you find in the archive, and stick it the ArmA 2\Addons folder, or the mod folder of your choice. Run the game, and you'll find awesome shit happens, although it isn't immediately apparent.

--------------------------------------------------------

An interesting example mission is included. You are a civilian, with a vehicle on your team. Tell the vehicle to stop, then look east and ID the infantry moving down the runway towards you. The tank will fire, triggering an EH (thanks kyu), which shows you what it shot. I have taken the liberty of removing the coax MG and killing the commander (thus neutering its command MG). Watch those HEAT rounds mow down the infantry!

When you get bored, use 0-0-1 and 0-0-2 to call in a BTR90 and a T72 from around the place. The altered vehicle will change its ammunition to adapt (unless it's an MBT, in which case it will blast it with whatever it damn well wants) - cannons will engage with AP, while vehicles with ATGM capabilities will spew out a missile. 

You can tell the crew to disembark - jump in and enjoy the non-broken main gun and cannon features!

When you get bored (again), change the vehicle over, and experiment with changing the enemy vehicles from APCs to cars to MBTs. Watch those SABOTs, HEATs and HESH rounds fly!

CLASSNAMES:

Custom weapon names:

CMCD_CTWS_FV510
CMCD_M242_LAV25
CMCD_2A42_BMP2
CMCD_2A72_BMP3
CMCD_2A70_BMP3
CMCD_ZiS_S_53_T34
CMCD_D10_T55
CMCD_M68_MGS
CMCD_M256_M1A1
CMCD_D81TM_T72A
CMCD_2A46M_T72B
CMCD_2A46M_T90

Custom magazines:

CMCD_9M119 (T72B - Russian only)
CMCD_9M119M (T90)
CMCD_9M117_BMP3 (duh)
CMCD_9M117 - not yet used.

--------------------------------------------------------

LICENSE + DISCLAIMER: You are permitted to install and use this software for
personal entertainment purposes only. Any commercial or military use is strictly
forbidden without permission from the author, unless several billion AUD are paid
into his personal account.

You are free to distribute this software as you wish, as long as it is kept 100%
free of charge, it is not modified in any way and this readme file is
distributed with it. Change it if you wish, but do NOT distribute the result without
my permission - I'll be quite miffed. This goes for any mods too. Got my eyes on
you.

The author takes no responsibility for any damages this program may cause,
use at your own risk. This includes BSODs, WSODs, GSODs and YSODs, relationship
failures, hardware detonations, etc etc ad infinitum.

Thanks for reading the readme. Please post constructive criticism (abuse usually
not welcome, but certainly rebuffed harsly) in the BIS forums thread where this addon
was found, or compliments if you feel that way inclined.

Regards,
Cameron McDonald 29/9/11